package net.zjitc.Shape;

/**
 * @Author admin
 * @Date 2019/3/20 9:04
 * 圆
 */
public class Circular extends Shape {
    public  Circular(){

    }
    public  Circular (String name){
        super(name);
    }
    @Override
    public void print(){
        System.out.println(name+"面积是: π*r*r");
    }
}
